<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<div th:fragment="commoncss(module)">
    <link rel="stylesheet" href="/libs/iconfont/iconfont.css">

    <link rel="stylesheet" href="/libs/bootstrap-notify/animate.css">

    <link rel="stylesheet" href="/libs/bootstrap3.3.7/css/bootstrap.css">
    <link rel="stylesheet" href="/libs/bootstrapvalidator/dist/css/bootstrapValidator.min.css">

    <link rel="stylesheet" href="/libs/bootstrap-table/bootstrap-table.css">
    <link rel="stylesheet" href="/libs/bootstrap-table/bootstrap-table.self.css">

    <link rel="stylesheet" href="/libs/bootstrap3-dialog/1.34.7/css/bootstrap-dialog.min.css">

    <link rel="stylesheet" href="/libs/bootstrap-switch/css/bootstrap3/bootstrap-switch.min.css">

    <link rel="stylesheet" href="/libs/zTree_v3/css/zTreeStyle/zTreeStyle.css">

    <link rel="stylesheet" href="/libs/select2/css/select2.min.css">

    <link rel="stylesheet" href="/libs/baiduMap/plugin/DrawingManager.1.4.css">

    <link rel="stylesheet" href="/common/base.css">
    <link rel="stylesheet" th:href="@{'/common/base.theme.'+${session.userInfo.userTheme}+'.css'}">

    <link rel="stylesheet" href="/css/manage/manage.css" th:if="${module} == manage">

    <link rel="stylesheet" href="/css/gis/gis.css" th:if="${module} == gis">
    <link rel="stylesheet" th:href="@{'/css/gis/gis.theme.'+${session.userInfo.userTheme}+'.css'}" th:if="${module} == gis">

    <link rel="stylesheet" href="/css/screen/screen.css" th:if="${module} == screen">
</div>

<div th:fragment="commonjs">
    <!--jquery-->
    <script src="/libs/jquery/jquery.3.2.1.js"></script>
    <script src="/libs/jquery/jquery.nicescroll.min.js"></script>

    <!--bootsrap-->
    <script src="/libs/bootstrap3.3.7/js/bootstrap.js"></script>

    <!--百度地图-->
    <!--<script src="http://api.map.baidu.com/getscript?v=3.0&ak=sGZOkeDdDDh55kIiuYC2qUg1&services=&t=20150818132813"></script>-->
    <script src="/libs/baiduMap/bmap_https.v3.js"></script>
    <script src="/libs/baiduMap/BaiduMap_cityCenter.js"></script>
    <script src="/libs/baiduMap/heatmap.js"></script>
    <script src="/libs/baiduMap/plugin/DrawingManager.1.4.js"></script>
    <script src="/libs/baiduMap/plugin/BMapLib_GeoUtils.js"></script>

    <!--表格插件-->
    <script src="/libs/bootstrap-table/bootstrap-table.js"></script>
    <script src="/libs/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
    <script src="/libs/bootstrap-table/tableExport.js"></script>
    <!--<script src="/libs/bootstrap-table/bootstrap-table-export.js"></script>-->
    <!--<script src="/libs/bootstrap-table/bootstrap-table-treegrid.js"></script>-->

    <!--表单验证插件-->
    <script src="/libs/bootstrapValidator/dist/js/bootstrapValidator.js"></script>

    <!--notify插件-->
    <script src="/libs/bootstrap-notify/bootstrap-notify.min.js"></script>
    <!-- https://github.com/mouse0270/bootstrap-notify -->
    <!-- http://bootstrap-growl.remabledesigns.com/ -->

    <!--日期插件-->
    <script src="/libs/layDate5.0.9/laydate.js"></script>

    <!--对话框-->
    <script src="/libs/bootstrap3-dialog/1.34.7/js/bootstrap-dialog.min.js"></script>

    <!--switch插件-->
    <script src="/libs/bootstrap-switch/js/bootstrap-switch.js"></script>

    <!--ztree-->
    <script src="/libs/zTree_v3/js/jquery.ztree.all.js"></script>
    <script src="/libs/zTree_v3/js/jquery.ztree.exhide.js"></script>

    <!--百度ueditor-->
    <script src="/libs/ueditor1.4.3.3/ueditor.config.js"></script>
    <script src="/libs/ueditor1.4.3.3/ueditor.all.min.js"></script>

    <!--百度echarts-->
    <script src="/libs/echarts4.0.2/echarts.min.js"></script>
    <script src="/libs/echarts3.8.4/walden.js"></script>
    <script src="/libs/echarts4.0.2/map/world.js"></script>
    <script src="/libs/echarts4.0.2/map/china.js"></script>
    <script src="/libs/echarts4.0.2/map/bmap.min.js"></script>

    <!--select2-->
    <script src="/libs/select2/js/select2.js"></script>

    <!--基础框架-->
    <script src="/common/base.js"></script>
    <script src="/common/base.map.config.js"></script>
    <script src="/common/base.map.js"></script>
    <script src="/common/base.echarts.config.js"></script>
    <script src="/common/base.echarts.js"></script>
    <script src="/common/base.date.js"></script>
    <script src="/common/base.dialog.js"></script>

    <script th:inline="javascript">
        /*<![CDATA[*/
        var userTheme = /*[[${session.userInfo.userTheme}]]*/ 'default';
        /*]]>*/
    </script>
</div>

</html>